.class public Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;
.super Ljava/lang/Object;
.source "VerifyPasswordDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;,
        Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;
    }
.end annotation


# static fields
.field private static e:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;


# instance fields
.field private a:Lcom/estrongs/android/ui/dialog/q;

.field private b:Landroid/content/Context;

.field private c:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;

.field private d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Landroid/content/DialogInterface$OnDismissListener;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->d:Ljava/util/List;

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->b:Landroid/content/Context;

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->c()V

    .line 5
    invoke-direct {p0, p2}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->b:Landroid/content/Context;

    return-object p0
.end method

.method public static a(Landroid/content/Context;Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;
    .locals 1

    .line 2
    sget-object v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->e:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    if-eqz v0, :cond_0

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    sget-object p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;->START:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;

    if-ne p1, p0, :cond_1

    .line 4
    sget-object p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->e:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)V

    goto :goto_0

    .line 5
    :cond_0
    new-instance v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;-><init>(Landroid/content/Context;Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)V

    sput-object v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->e:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    .line 6
    :cond_1
    :goto_0
    sget-object p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->e:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    return-object p0
.end method

.method private a(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;)V
    .locals 1

    .line 7
    sget-object v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;->NETWORK:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$DialogType;

    if-ne p1, v0, :cond_0

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    const v0, 0x7f11052c

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    goto :goto_0

    .line 9
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    const v0, 0x7f1105e5

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    :goto_0
    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;)Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->c:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;

    return-object p0
.end method

.method public static b()V
    .locals 1

    const/4 v0, 0x0

    .line 2
    sput-object v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->e:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;

    return-void
.end method

.method static synthetic c(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;)Ljava/util/List;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->d:Ljava/util/List;

    return-object p0
.end method

.method private c()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->b:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0292

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f0908f2

    .line 4
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const/16 v2, 0x8

    .line 5
    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    const v1, 0x7f0908f1

    .line 6
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    const v3, 0x7f0908f4

    .line 7
    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/view/View;->setVisibility(I)V

    const v3, 0x7f0908ef

    .line 8
    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3, v2}, Landroid/view/View;->setVisibility(I)V

    const v3, 0x7f0908f7

    .line 9
    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    .line 10
    invoke-virtual {v3, v2}, Landroid/view/View;->setVisibility(I)V

    .line 11
    new-instance v2, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v3, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->b:Landroid/content/Context;

    invoke-direct {v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v3, 0x7f11052c

    .line 12
    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {v2, v0}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/view/View;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$b;

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$b;-><init>(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;Landroid/widget/EditText;)V

    const v1, 0x7f11029e

    .line 13
    invoke-virtual {v2, v1, v0}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$a;-><init>(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;)V

    const v1, 0x7f110299

    .line 14
    invoke-virtual {v2, v1, v0}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 15
    invoke-virtual {v2}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    .line 16
    new-instance v1, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$c;-><init>(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnKeyListener(Landroid/content/DialogInterface$OnKeyListener;)V

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    :cond_0
    return-void
.end method

.method public a(Landroid/content/DialogInterface$OnDismissListener;)V
    .locals 1

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->a:Lcom/estrongs/android/ui/dialog/q;

    new-instance v0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$d;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$d;-><init>(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;)V

    invoke-virtual {p1, v0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;)V
    .locals 0

    .line 10
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog;->c:Lcom/estrongs/android/ui/dialog/VerifyPasswordDialog$e;

    return-void
.end method
